home *** CD-ROM | disk | FTP | other *** search
Makefile | 1999-05-17 | 5.5 KB | 185 lines | [TEXT/MPS ] |
- #
- # File: MakeFile
- #
- # Contains: Build rules for VDig sample code.
- #
- # Version: 1.0
- #
- # Written by: Erik Staats
- #
- # Copyright: © 1996-1998 by Apple Computer, Inc., all rights reserved.
- #
- # File Ownership:
- #
- # DRI: Eric W. Anderson
- #
- # Other Contact: Jay Lloyd
- #
- # Technology: FireWire
- #
- # Writers:
- #
- # (DCB) Clinton Bauder
- # (jkl) Jay Lloyd
- #
- # Change History (most recent first):
- #
- # <FW34> 12/19/98 DCB More cleanup for SDK.
- # <FW33> 7/29/98 jkl Updated to use latest Interfaces&Libraries. Bumped version.
- # <FW32> 8/29/97 KDM Bumped version to 1.0.1a6. Piece of Blaze 1.1a6
- # <FW31> 6/19/97 GG Bumped version to 1.0.1a5.
- # <FW30> 5/29/97 GG Bumped version to 1.0.1a4.
- # <FW29> 5/16/97 GG Bumped FireWire version to 1.01a3.
- # <FW28> 4/29/97 GG Bumped version to 1.0.1a2.
- # <FW27> 4/10/97 GG Bumped version to 1.0.1d1.
- # <FW26> 3/27/97 GG Bumped version to 1.0 GM.
- # <FW25> 3/19/97 GG Bumped version to 1.0b3.
- # <FW24> 3/12/97 GG Bumped version to 1.0b2.
- # <FW23> 2/19/97 GG Bumped version to 1.0a3.
- # <FW22> 2/11/97 GG Bumped copyright to 1997.
- # <FW21> 2/11/97 GG Bumped version to 1.0a2.
- # <FW20> 2/4/97 GG Bumped version to 1.0d24.
- # <FW19> 1/28/97 GG Bumped version to 1.0d23.
- # <FW18> 1/21/97 GG Bumped version to 1.0d22.
- # <FW17> 1/2/97 GG Bumped Version to 1.0d21.
- # <FW16> 12/20/96 GG Bumped Version to 1.0d20.
- # <FW15> 12/6/96 GG Bumped version to 1.0d19.
- # <FW14> 11/27/96 ES Removed links to DevNLib.
- # <FW13> 11/14/96 GG Bumped version to 1.0d18.
- # <FW12> 10/31/96 ES Bumped version to 1.0d17.
- # <FW11> 10/16/96 ES Bumped version to 1.0d16.
- # <FW10> 10/2/96 ES Bumped version to 1.0d15.
- # <FW9> 9/12/96 ES Bumped version to 1.0d14.
- # <FW8> 8/26/96 ES Changed to use MrC and SC. This MakeFile will now only work with
- # ETO #20 and forward.
- # <FW7> 7/11/96 ES Bumped version to 1.0d13.
- # <FW6> 7/11/96 ES Bumped version to 1.0d12.
- # <FW5> 6/24/96 ES Bumped version to 1.0d11.
- # <FW4> 6/20/96 ES Added some defs so we can do test builds using the MrC compiler.
- # <FW3> 6/20/96 ES Changed FWCCMDriverRootDir to VDigRootDir.
- # <FW2> 6/20/96 ES Filled in contains and written by fields.
- # <FW1> 6/20/96 ES first checked in
- #
- #
-
- ################################################################################
- #
- # Define some directories
- #
-
- VDigRootDir = :
-
- FWSampleDir = {VDigRootDir}::
-
- FWInterfacesDir = {FWSampleDir}Interfaces:
- FWLibrariesDir = {FWSampleDir}Libraries:
-
- FWCCMLibrariesDir = {VDigRootDir}Libraries:
-
- FWCCMDriverSourceDir = {VDigRootDir}FWCCMDriver:
-
- BuildResultsDir = {FWSampleDir}BuildResults:
- ObjectsDir = {BuildResultsDir}Objects:
- ExtensionsDir = {BuildResultsDir}Extensions:
-
- ################################################################################
- #
- # Define version info
- #
-
- FWVersion = 1
- FWRevision = 0
- FWBuildStage = alpha
- FWBuildNumber = 7
- FWShortVersionString = '"1.0.1a7"'
- FWLongVersionString = '"1.0.1a7, © 1996-1998 Apple Computer, Inc."'
-
-
- ################################################################################
- #
- # Define stuff for PowerPC compilation
- #
-
- MrCOptions = -opt speed ∂
- -w 2,7,35 ∂
- -d TRUE=1 ∂
- -d FALSE=0 ∂
- -i "{CIncludes}"
-
- CPPCOptions = {MrCOptions}
-
- CPPC = MrC
-
- LinkPPC = PPCLink
-
-
- ################################################################################
- #
- # Define stuff for rez
- #
-
- RezOptions = -d FWVersion={FWVersion} ∂
- -d FWRevision={FWRevision} ∂
- -d FWBuildStage={FWBuildStage} ∂
- -d FWBuildNumber={FWBuildNumber} ∂
- -d FWShortVersionString={FWShortVersionString} ∂
- -d FWLongVersionString={FWLongVersionString} ∂
- -d ETO_BUILD=1
-
-
- ################################################################################
- #
- # FireWire CCM driver
- #
-
- "{ObjectsDir}FWCCMDriver.c.o" ƒ ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.c" ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.h" ∂
- "{FWInterfacesDir}FireWire.h"
- {CPPC} ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.c" ∂
- -i "{FWCCMDriverSourceDir}" ∂
- -i "{FWInterfacesDir}" ∂
- {CPPCOptions} ∂
- -o {Targ}
-
- "{ExtensionsDir}FWCCMDriver" ƒƒ ∂
- "{ObjectsDir}FWCCMDriver.c.o" ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.exp"
- {LinkPPC} ∂
- -t 'ndrv' ∂
- -c 'fw ' ∂
- -xm sharedlibrary ∂
- -w ∂
- -@export "{FWCCMDriverSourceDir}FWCCMDriver.exp" ∂
- -main ComponentInterface ∂
- -term FWCCMTerminate ∂
- "{ObjectsDir}FWCCMDriver.c.o" ∂
- "{SharedLibraries}InterfaceLib" ∂
- "{SharedLibraries}StdCLib" ∂
- "{SharedLibraries}NameRegistryLib" ∂
- "{SharedLibraries}DriverServicesLib" ∂
- "{SharedLibraries}PCILib" ∂
- "{FWLibrariesDir}FWServicesLib" ∂
- "{PPCLibraries}PPCCRuntime.o" ∂
- -o {Targ}
-
- "{ExtensionsDir}FWCCMDriver" ƒƒ ∂
- "{ObjectsDir}FWCCMDriver.c.o" ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.exp" ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.r" ∂
- "{VDigRootDir}MakeFile"
- Rez ∂
- {RezOptions} ∂
- "{FWCCMDriverSourceDir}FWCCMDriver.r" ∂
- -a ∂
- -o {Targ}
-
-
- FWCCMDriver ƒ ∂
- "{ExtensionsDir}FWCCMDriver"
-
-
- VDig ƒ ∂
- FWCCMDriver
-